﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// AIT项目DTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class AITProjectDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public AITProjectDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
		
		
		
		
		
					ProjectType= 0; 
				
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        	        	        	        	        	        	        			if (this.ProjextMaster != null) 
			{
				this.ProjextMaster.DoSerializeKeyList(dict);
			}
	        			if (this.Org != null) 
			{
				this.Org.DoSerializeKeyList(dict);
			}
	        			if (this.Department != null) 
			{
				this.Department.DoSerializeKeyList(dict);
			}
	        			if (this.Customer != null) 
			{
				this.Customer.DoSerializeKeyList(dict);
			}
	        	        			if (this.DescFlexField != null) 
			{
				this.DescFlexField.DoSerializeKeyList(dict);
			}
	        			if (this.Effective != null) 
			{
				this.Effective.DoSerializeKeyList(dict);
			}
	        			if (this.CostORG != null) 
			{
				this.CostORG.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public AITProjectDTOData(  System.String code  , System.String name  , System.String startDate  , System.String endDate  , System.String srcSaleDocNo  , System.String qAExpireDate  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData projextMaster  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData org  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData department  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData customer  , System.Int32 projectType  , ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData descFlexField  , ufida.u9.ait.openapi.EffectiveDTOData effective  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData costORG  )
		{
			initData();
			this.Code = code;
			this.Name = name;
			this.StartDate = startDate;
			this.EndDate = endDate;
			this.SrcSaleDocNo = srcSaleDocNo;
			this.QAExpireDate = qAExpireDate;
			this.ProjextMaster = projextMaster;
			this.Org = org;
			this.Department = department;
			this.Customer = customer;
			this.ProjectType = projectType;
			this.DescFlexField = descFlexField;
			this.Effective = effective;
			this.CostORG = costORG;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 编码
		/// AIT项目DTO.Misc.编码
		/// </summary>
		private System.String m_code ;
		[DataMember(IsRequired=false)]
		public System.String Code
		{
			get	
			{	
				return m_code ;
			}
			set	
			{	
				m_code = value ;	
			}
		}
			
		

		/// <summary>
		/// 名称
		/// AIT项目DTO.Misc.名称
		/// </summary>
		private System.String m_name ;
		[DataMember(IsRequired=false)]
		public System.String Name
		{
			get	
			{	
				return m_name ;
			}
			set	
			{	
				m_name = value ;	
			}
		}
			
		

		/// <summary>
		/// 计划开始日期
		/// AIT项目DTO.Misc.计划开始日期
		/// </summary>
		private System.String m_startDate ;
		[DataMember(IsRequired=false)]
		public System.String StartDate
		{
			get	
			{	
				return m_startDate ;
			}
			set	
			{	
				m_startDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 计划结束日期
		/// AIT项目DTO.Misc.计划结束日期
		/// </summary>
		private System.String m_endDate ;
		[DataMember(IsRequired=false)]
		public System.String EndDate
		{
			get	
			{	
				return m_endDate ;
			}
			set	
			{	
				m_endDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 销售合同号
		/// AIT项目DTO.Misc.销售合同号
		/// </summary>
		private System.String m_srcSaleDocNo ;
		[DataMember(IsRequired=false)]
		public System.String SrcSaleDocNo
		{
			get	
			{	
				return m_srcSaleDocNo ;
			}
			set	
			{	
				m_srcSaleDocNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 质保到期日
		/// AIT项目DTO.Misc.质保到期日
		/// </summary>
		private System.String m_qAExpireDate ;
		[DataMember(IsRequired=false)]
		public System.String QAExpireDate
		{
			get	
			{	
				return m_qAExpireDate ;
			}
			set	
			{	
				m_qAExpireDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目经理
		/// AIT项目DTO.Misc.项目经理
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_projextMaster ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData ProjextMaster
		{
			get	
			{	
				return m_projextMaster ;
			}
			set	
			{	
				m_projextMaster = value ;	
			}
		}
			
		

		/// <summary>
		/// 组织
		/// AIT项目DTO.Misc.组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_org ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Org
		{
			get	
			{	
				return m_org ;
			}
			set	
			{	
				m_org = value ;	
			}
		}
			
		

		/// <summary>
		/// 部门
		/// AIT项目DTO.Misc.部门
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_department ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Department
		{
			get	
			{	
				return m_department ;
			}
			set	
			{	
				m_department = value ;	
			}
		}
			
		

		/// <summary>
		/// 客户
		/// AIT项目DTO.Misc.客户
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_customer ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData Customer
		{
			get	
			{	
				return m_customer ;
			}
			set	
			{	
				m_customer = value ;	
			}
		}
			
		

		/// <summary>
		/// 项目分类
		/// AIT项目DTO.Misc.项目分类
		/// </summary>
		private System.Int32 m_projectType ;
		[DataMember(IsRequired=false)]
		public System.Int32 ProjectType
		{
			get	
			{	
				return m_projectType ;
			}
			set	
			{	
				m_projectType = value ;	
			}
		}
			
		

		/// <summary>
		/// 实体扩展字段
		/// AIT项目DTO.Misc.实体扩展字段
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData m_descFlexField ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfDescFlexSegmentsData DescFlexField
		{
			get	
			{	
				return m_descFlexField ;
			}
			set	
			{	
				m_descFlexField = value ;	
			}
		}
			
		

		/// <summary>
		/// 有效性
		/// AIT项目DTO.Misc.有效性
		/// </summary>
		private ufida.u9.ait.openapi.EffectiveDTOData m_effective ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.EffectiveDTOData Effective
		{
			get	
			{	
				return m_effective ;
			}
			set	
			{	
				m_effective = value ;	
			}
		}
			
		

		/// <summary>
		/// 成本组织
		/// AIT项目DTO.Misc.成本组织
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_costORG ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData CostORG
		{
			get	
			{	
				return m_costORG ;
			}
			set	
			{	
				m_costORG = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																												
		#endregion 
	} 	
}
